require 'active_support/core_ext/array/access'
require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/array/extract_options'
require 'active_support/core_ext/array/grouping'
require 'active_support/core_ext/array/random_access'

# changed by bonyfish on 2009-03-31
class Array #:nodoc:
  # 增加一些直观的访问数组的方法,像first,second等等
  include ActiveSupport::CoreExtensions::Array::Access
  # 增加一些数组转换的方法,例如用来生成查询字符串,url路径等等
  include ActiveSupport::CoreExtensions::Array::Conversions
  include ActiveSupport::CoreExtensions::Array::ExtractOptions
  include ActiveSupport::CoreExtensions::Array::Grouping
  include ActiveSupport::CoreExtensions::Array::RandomAccess
end
